package com.yanqu.road.entity.config.battle;

import com.yanqu.road.entity.player.UserBaseInfo;

public class CrossBattleResult extends BattleResult{

	private int battleType;                		//战斗方式
	private String recordUid = "";				//记录编号
	private UserBaseInfo enemyBaseInfo;    		//对手信息

	public int getBattleType() {
		return battleType;
	}

	public void setBattleType(int battleType) {
		this.battleType = battleType;
	}

	public UserBaseInfo getEnemyBaseInfo() {
		return enemyBaseInfo;
	}

	public void setEnemyBaseInfo(UserBaseInfo enemyBaseInfo) {
		this.enemyBaseInfo = enemyBaseInfo;
	}

	public String getRecordUid() {
		return recordUid;
	}

	public void setRecordUid(String recordUid) {
		this.recordUid = recordUid;
	}

	public void setBattleResult(BattleResult battleResult){
		if(null != battleResult){
			setWinUserId(battleResult.getWinUserId());
			setReward(battleResult.getReward());
			setKillPatronsCount(battleResult.getKillPatronsCount());
			setMyAddScore(battleResult.getMyAddScore());
			setEnemyLoseScore(battleResult.getEnemyLoseScore());
			setEffectMammonSkill(battleResult.getEffectMammonSkill());
			setAddEarnSpeed(battleResult.getAddEarnSpeed());
			setPatronsBattleDetailList(battleResult.getPatronsBattleDetailList());
			setMyPatronsIdList(battleResult.getMyPatronsIdList());
			setEnemyPatronsList(battleResult.getEnemyPatronsList());
			setTrackChangeType(battleResult.getTrackChangeType());
			setBattleType(battleResult.getBattleType());
		}
	}
}
